package com.fjc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by fjc on 2018/9/24.
 */
@Controller
public class PageController {
    @GetMapping("/home")
    public String home(){
        return "home";
    }

    @GetMapping("/login")
    public String login(){
        return "login";
    }

    @GetMapping("/a")
    public String a(){
        return "a";
    }

    @GetMapping("/index")
    public String index(){
        return "index";
    }

    @GetMapping("/user")
    public String user(){
        return "user";
    }

    @GetMapping("/role")
    public String role(){
        return "role";
    }

    @GetMapping("/403")
    public String fail(){
        return "403";
    }
}
